package top.rainf.service;

import top.rainf.domain.vo.PostReply;

import java.util.List;

/**
 * @author 星环
 * @date null
 * @description 自动生成的回帖服务接口
 */
public interface IPostReplyService {

    List<PostReply> getPostReplyList();
    int getReplyCountInPost(int postId);

    PostReply getOneById(int id);

    boolean deleteOneById(int id);

    boolean deleteAll(List<Integer> idList);

    boolean updateById(PostReply postReply);

    List<PostReply> getReplyListByPostIdPaged(int postId, int curPage, int numPerPage);

    int addOne(PostReply postReply);
}
